#include "widget.h"
#include "ui_widget.h"
#include <QButtonGroup>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QButtonGroup* cl1 = new QButtonGroup(this);
    QButtonGroup* cl2 = new QButtonGroup(this);
    QButtonGroup* cl3 = new QButtonGroup(this);
    cl1->addButton(ui->radioButton);
    cl1->addButton(ui->radioButton_2);
    cl1->addButton(ui->radioButton_3);
    cl2->addButton(ui->radioButton_4);
    cl2->addButton(ui->radioButton_5);
    cl2->addButton(ui->radioButton_6);
    cl3->addButton(ui->radioButton_7);
    cl3->addButton(ui->radioButton_8);
}

Widget::~Widget()
{
    delete ui;
}

